set theCommandLine to {"-q -dNOPAUSE -dBATCH -dCompatibilityLevel=1.1 -sDEVICE=pdfwrite -sOutputFile=\"", thePDFfile, "\" -c save pop -f \"", theFile, "\""} as string
tell application "MacGS-510 FAT"
«event gsVRexec» theCommandLine
end tell
end ProcessFiles
on run
set theFile to (choose file of type {"TEXT", "EPSF"}) as string